<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/public/css :: common_css(~{::title},~{::link})">
    <title>ZK & Kafka - KafkaEagle</title>
    <link th:href="@{/media/css/public/dataTables.bootstrap.min.css}" rel="stylesheet"/>
</head>
<body>
<nav th:replace="/public/navbar :: common_navbar"></nav>
<div id="wrapper">
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">
                    ZK & Kafka Info <small>overview</small>
                </h1>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12">
                <div class="alert alert-info alert-dismissable">
                    <button type="button" class="close" data-dismiss="alert"
                            aria-hidden="true">×
                    </button>
                    <i class="fa fa-info-circle"></i> <strong>Cluster
                    information, in the form of tables to demonstrate the Kafka and
                    Zookeeper cluster node IP, port, and its version number</strong> If you
                    don't know the usage of Kafka and Zookeeper, you can visit the
                    website of <a href="http://kafka.apache.org/" target="_blank"
                                  class="alert-link">Kafka</a> and <a
                        href="http://zookeeper.apache.org/" target="_blank"
                        class="alert-link">Zookeeper</a> to view the relevant usage.<br/>
                    <i class="fa fa-info-circle"> <strong>Note</strong>:&nbsp;</i>Kafka version is <strong>"-"</strong>
                    or JMX Port is <strong>"-1"</strong> maybe kafka broker jmxport disable.<br/>
                </div>
            </div>
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-tasks fa-fw"></i> Kafka Cluster Info
                        <div class="pull-right"></div>
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <div id="kafka_cluster_info">
                            <table id="kafka_tab" class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>IP</th>
                                    <th>Port</th>
                                    <th>JMX Port</th>
                                    <th>Created</th>
                                    <th>Modify</th>
                                    <th>Version</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                    <!-- /.panel-body -->
                </div>
            </div>
            <!-- /.col-lg-4 -->
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="fa fa-sitemap fa-fw"></i> Zookeeper Cluster Info
                        <div class="pull-right"></div>
                    </div>
                    <!-- /.panel-heading -->
                    <div class="panel-body">
                        <div id="zookeeper_cluster_info">
                            <table id="zk_tab" class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>IP</th>
                                    <th>Port</th>
                                    <th>Mode</th>
                                    <th>Version</th>
                                </tr>
                                </thead>
                            </table>
                        </div>
                    </div>
                    <!-- /.panel-body -->
                </div>
            </div>
            <!-- /.col-lg-4 -->
        </div>
        <!-- /.row -->
    </div>
    <!-- /#page-wrapper -->
</div>
<div th:replace="/public/script :: common_js(~{::script})">
    <script th:src="@{/media/js/main/cluster/cluster.js}" type="text/javascript"></script>
    <script th:src="@{/media/js/plugins/datatables/jquery.dataTables.min.js}"></script>
    <script th:src="@{/media/js/plugins/datatables/dataTables.bootstrap.min.js}"></script>
</div>
</body>
</html>
